package com.webflux.service;

import com.webflux.entity.TbCity;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface TbCityService {

    Mono<TbCity> add(TbCity city);

    Mono<TbCity> edit(TbCity city);

    Mono<Void> delete(TbCity city);

    Flux<TbCity> search(String cityName);
}
